-
Notifications
You must be signed in to change notification settings - Fork 21
[O2B-1506] LHCfills run duration filter #2038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2038 +/- ##
==========================================
+ Coverage 45.58% 45.59% +0.01%
==========================================
Files 1031 1031
Lines 17172 17205 +33
Branches 3123 3133 +10
==========================================
+ Hits 7827 7844 +17
- Misses 9345 9361 +16 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
23dbb7b to
11c1f9d
Compare
fd1be9f to
2c6fee8
Compare
This reverts commit 695622b.
…ith the query/reset logic. Just set the value afterwards
5c9fecd to
950022d
Compare
…ature/O2B-1506/lhcfills-run-duration-filter
…ature/O2B-1506/lhcfills-run-duration-filter
…moved, SBDuration filter frontend fixed
…ature/O2B-1506/lhcfills-run-duration-filter
…DO validate tests
…ature/O2B-1506/lhcfills-run-duration-filter update from upstream
…ature/O2B-1506/lhcfills-run-duration-filter update from upstream
…ature/O2B-1506/lhcfills-run-duration-filter update from upstream
…fills DTO. QueryBuilder WhereAssociationQueryBuilder has been changed to handle associations with an OR operator. Added tests
| * @param {TextComparisonFilterModel} runDurationFilterModel runDurationFilterModel | ||
| * @returns {Component} the text field | ||
| */ | ||
| export const runDurationFilter = (runDurationFilterModel) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This I think could me made into a generic function given it is the same as beamDurationFilter
isaachilly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but will add my changes next commit
Introduced greaterThanOrNull and lowerThanOrNull methods in QueryBuilder to handle cases where 0 is stored as null in the database. Used these methods instead of editing _or and applyOperation methods. Added tests to check <= and >= in the usecase work correctly.
I have a JIRA ticket
Notable changes for users:
Notable changes for developers:
Changes made to the database:
-None.